package day3;

/**
 * @author oldliu
 * @since 1.0
 */
public class JucieTest {
    public static void main(String[] args) {
        JuiceMaker m=new JuiceMaker();
        m.brand="九阳";
        m.color="青黄";
        m.watt=50;
        m.show();
        //准备榨汁
        String f="桃子";
        String zhi=m.zha(f);
        System.out.println("老刘喝到了"+zhi);
        zhi=m.zha("芒果");
        System.out.println("老刘喝到了"+zhi);
        System.out.println(">>>>>>>>>>>>>>>>>>");
        m.zha("榴莲");
        System.out.println(">>>>>>>>>>>>>>>>");
        System.out.println(m.zha("香蕉"));///！！！
//        m.fruit="苹果";
//        String r=m.zha();
//        System.out.println(r);
//        m.fruit="梨子";
//        r=m.zha();
//        System.out.println("喝到了"+r);
    }
}
